package com.gxa.user.recycling.service;


import com.gxa.core.recycling.exception.BusinessException;
import com.gxa.core.recycling.pojo.Goods;
import com.gxa.core.recycling.pojo.Goodsorder;
import com.gxa.core.recycling.service.BaseService;

import java.util.List;
import java.util.Map;

/**
 * @Author xhy
 * @Date 2021/12/2 10:22
 */
public interface GoodsorderService extends BaseService<Goodsorder> {
    List<Map> findGoodsorder(Long id, String state);
    List<Goods> selectByMongodb();
    Goods selectById(Long id) throws BusinessException;
    Integer exchange(Long id,Integer points,Long gid,String words,String address,Long communityId) throws BusinessException;

}
